package com.example.demo.entity;

/**
 * @Author: yucsa
 * @Date: 2021/8/20 12:25
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

@Data
@NoArgsConstructor
public class Admin extends Person{

    private String shopName;

    @Override
    public Long getId() {
        return id;
    }

    public Admin setId(long id) {
        this.id = id;
        return this;
    }

    public String getShopName() {
        return shopName;
    }

    public Admin setShopName(String shopName) {
        this.shopName = shopName;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public Admin setPassword(String password) {
        this.password = password;
        return this;
    }
}

